import { ButtonType } from "./ButtonType.model";

export class TableButton {
    actionOptions: any;
    name: string;
    isEnabled: boolean;
    buttonType: number; // 1 for button, 2 for checkbox ; will create a proper enum later
    constructor(name: string, actionOptions: any, isEnabled = true, buttonType: number = 1) {
        this.name = name;
        this.actionOptions = actionOptions;
        this.isEnabled = isEnabled;
        this.buttonType = buttonType;
    }
}